package com.lancoo.ccas53.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lancoo.ccas53.entity.SplitClass;
import com.lancoo.ccas53.entity.TeachingClass;
import com.lancoo.ccas53.pojo.common.PageInfo;

import java.util.List;

/**
 * @Author: mabolin
 * @Date: 2024-10-12-11:04
 * @Description:
 */
public interface SplitClassService extends IService<SplitClass> {
    /**
     * 批量删除拆班
     *
     * @param uniqueShiftSigns
     * @return
     */
    Boolean removeSplitClass(List<String> uniqueShiftSigns);

    /**
     * 获取拆班上课列表
     *
     * @param taskId
     * @param keyword
     * @param currentPage
     * @param pageSize
     * @return
     */
    PageInfo<SplitClass> getSplitClassList(Integer currentPage, Integer pageSize, Integer taskId, String keyword);

    /**
     * 添加指定课程对应的行政班列表-拆班
     *
     * @param taskId
     * @param classId
     * @param courseIds
     * @return
     */
    List<TeachingClass> addSplitClassList(Integer taskId, String classId, String uniqueShiftSign, List<Long> courseIds);

    /**
     * 获取拆班教学班
     *
     * @param uniqueShiftSign
     * @return
     */
    List<TeachingClass> getSplitTeachingClass(String uniqueShiftSign);
}
